xl: allow nameless domains to be named
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 26 May 2010 07:12:15 +0000 (08:12 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 26 May 2010 07:12:15 +0000 (08:12 +0100)
commit961652b3bd19c9417a87c54a883f5fa7e9805d0a
treecf258c9b13b6aea94be0375e16177134ec9050cf
parent48114954f9e539dbdfb1e16b224b4282b27e46db
xl: allow nameless domains to be named

At present, find_domain() will exit(2) if you specify a domain by
number, but that domain doesn't have a corresponding name.  However,
nothing seem to critically depend on common_domname being set, and the
test prevents dom0 or other nameless domains from being named.  So
just remove the check.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Yang Hongyang <yanghy@cn.fujitsu.com>
tools/libxl/xl_cmdimpl.c